<template>
  <div class="slot"> 
     <Slot>
        <template #result>
             <div>我是父组件传的数据</div>
        </template>
     </Slot>
  </div>
</template>

<script setup> 
     import Slot from '../../components/slot';
    import { ref, reactive, toRefs, onBeforeMount, onMounted, watchEffect, computed } from 'vue';
    
</script>
<style scoped>
    .slot{
        width: 500px;
        height: 500px;
    }
</style>